package demo;

import java.io.FileOutputStream;
import java.io.IOException;

public class HelloWorld {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("helloworld.txt");
        fos.write("helloworld".getBytes());
        fos.write("hellojava!".getBytes());
        fos.write("branch1!!!".getBytes());//在branch1中添加了一组代码
        System.out.println("写出完毕");
        System.out.println("master上修改的内容!!");
        System.out.println("newbranch中添加的代码!");
        System.out.println("啦啦啦啦啦");
        fos.close();
    }
}
